package team.zero.lemon.module.workflow.service;

import org.springframework.stereotype.Service;
import team.zero.lemon.common.service.CrudService;
import team.zero.lemon.module.workflow.dao.IActivityFormDao;
import team.zero.lemon.module.workflow.entity.ActivityForm;

import java.util.List;


/**
 * Created by Bo on 2016/11/16.
 */
@Service
public class ActivityFormService extends CrudService<IActivityFormDao, ActivityForm> {
    void deleteByFormId(Integer formId) {
        dao.deleteByFormId(formId);
    }

    List<ActivityForm> findByFormId(Integer formId) {
        return dao.findByFormId(formId);
    }
}
